package top.chukongxiang.monitorservice.tools;

/**
 * @author 楚孔响
 * @version 1.0
 * @date 2023/9/18 11:15
 */
public class PsUtil {

    public static byte[] getSystemIds(byte[] systemHeader) {
        byte[] systemIds = new byte[(systemHeader.length - 4 - 2 - 6) / 3];
        for (int i = 0; i < systemIds.length; i++) {
            systemIds[i] = systemHeader[12 + i * 3];
        }
        return systemIds;
    }

}
